Integrand size = 23, antiderivative size = 249 \[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=-\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}+\frac {2 (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {4 d (c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {752, 857, 729, 113, 111, 118, 117} \[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=-\frac {4 d \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {\frac {e x}{d}+1} (c d-b e) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {d+e x}}+\frac {2 \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {d+e x} (2 c d-b e) E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {\frac {e x}{d}+1}}-\frac {2 \sqrt {d+e x} (x (2 c d-b e)+b d)}{b^2 \sqrt {b x+c x^2}} \]
[In]
[Out]
Rule 111
Rule 113
Rule 117
Rule 118
Rule 729
Rule 752
Rule 857
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}-\frac {2 \int \frac {-\frac {1}{2} b d e-\frac {1}{2} e (2 c d-b e) x}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2} \\ & = -\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}-\frac {(2 d (c d-b e)) \int \frac {1}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2}+\frac {(2 c d-b e) \int \frac {\sqrt {d+e x}}{\sqrt {b x+c x^2}} \, dx}{b^2} \\ & = -\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}-\frac {\left (2 d (c d-b e) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {1}{\sqrt {x} \sqrt {b+c x} \sqrt {d+e x}} \, dx}{b^2 \sqrt {b x+c x^2}}+\frac {\left ((2 c d-b e) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {x} \sqrt {b+c x}} \, dx}{b^2 \sqrt {b x+c x^2}} \\ & = -\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}+\frac {\left ((2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x}\right ) \int \frac {\sqrt {1+\frac {e x}{d}}}{\sqrt {x} \sqrt {1+\frac {c x}{b}}} \, dx}{b^2 \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {\left (2 d (c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}} \, dx}{b^2 \sqrt {d+e x} \sqrt {b x+c x^2}} \\ & = -\frac {2 \sqrt {d+e x} (b d+(2 c d-b e) x)}{b^2 \sqrt {b x+c x^2}}+\frac {2 (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {4 d (c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} F\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 10.77 (sec) , antiderivative size = 210, normalized size of antiderivative = 0.84 \[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=\frac {-2 i \sqrt {\frac {b}{c}} c e (-2 c d+b e) \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right )|\frac {c d}{b e}\right )+2 (c d-b e) \left (b (d+e x)-i \sqrt {\frac {b}{c}} c e \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right ),\frac {c d}{b e}\right )\right )}{b^2 c \sqrt {x (b+c x)} \sqrt {d+e x}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(450\) vs. \(2(207)=414\).
Time = 1.94 (sec) , antiderivative size = 451, normalized size of antiderivative = 1.81
method | result | size |
default | \(\frac {2 \left (2 b^{2} d \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) e c -2 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b \,c^{2} d^{2}+\sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{3} e^{2}-3 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} c d e +2 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {c \left (e x +d \right )}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, E\left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b \,c^{2} d^{2}+b \,c^{2} e^{2} x^{2}-2 c^{3} d e \,x^{2}-2 c^{3} d^{2} x -b \,c^{2} d^{2}\right ) \sqrt {x \left (c x +b \right )}}{x \left (c x +b \right ) b^{2} c^{2} \sqrt {e x +d}}\) | \(451\) |
elliptic | \(\frac {\sqrt {x \left (e x +d \right ) \left (c x +b \right )}\, \left (-\frac {2 \left (c e \,x^{2}+b e x +c d x +b d \right ) d}{b^{2} \sqrt {x \left (c e \,x^{2}+b e x +c d x +b d \right )}}+\frac {2 \left (c e \,x^{2}+c d x \right ) \left (b e -c d \right )}{b^{2} c \sqrt {\left (\frac {b}{c}+x \right ) \left (c e \,x^{2}+c d x \right )}}+\frac {2 \left (\frac {e^{2}}{c}-\frac {\left (b e -c d \right )^{2}}{c \,b^{2}}-\frac {d \left (b e -c d \right )}{b^{2}}\right ) b \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}+\frac {2 \left (\frac {c d e}{b^{2}}-\frac {\left (b e -c d \right ) e}{b^{2}}\right ) b \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, \left (\left (-\frac {b}{c}+\frac {d}{e}\right ) E\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )-\frac {d F\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{e}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}\right )}{\sqrt {x \left (c x +b \right )}\, \sqrt {e x +d}}\) | \(476\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 452, normalized size of antiderivative = 1.82 \[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=-\frac {2 \, {\left ({\left ({\left (2 \, c^{3} d^{2} - 2 \, b c^{2} d e - b^{2} c e^{2}\right )} x^{2} + {\left (2 \, b c^{2} d^{2} - 2 \, b^{2} c d e - b^{3} e^{2}\right )} x\right )} \sqrt {c e} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right ) + 3 \, {\left ({\left (2 \, c^{3} d e - b c^{2} e^{2}\right )} x^{2} + {\left (2 \, b c^{2} d e - b^{2} c e^{2}\right )} x\right )} \sqrt {c e} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right )\right ) + 3 \, {\left (b c^{2} d e + {\left (2 \, c^{3} d e - b c^{2} e^{2}\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {e x + d}\right )}}{3 \, {\left (b^{2} c^{3} e x^{2} + b^{3} c^{2} e x\right )}} \]
[In]
[Out]
\[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=\int \frac {\left (d + e x\right )^{\frac {3}{2}}}{\left (x \left (b + c x\right )\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {3}{2}}}{{\left (c x^{2} + b x\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {3}{2}}}{{\left (c x^{2} + b x\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(d+e x)^{3/2}}{\left (b x+c x^2\right )^{3/2}} \, dx=\int \frac {{\left (d+e\,x\right )}^{3/2}}{{\left (c\,x^2+b\,x\right )}^{3/2}} \,d x \]
[In]
[Out]